package com.dubbo.user.domain;

import com.dubbo.goods.domain.GoodsDTO;

import java.io.Serializable;

/**
 * @author user
 * @create 2017-11-16 11:58
 */
public class UserDTO implements Serializable {


    private Long id;
    private String name;
    private String password;

    private GoodsDTO goodsDTO;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public GoodsDTO getGoodsDTO() {
        return goodsDTO;
    }

    public void setGoodsDTO(GoodsDTO goodsDTO) {
        this.goodsDTO = goodsDTO;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", goodsDTO='" + goodsDTO + '\'' +
                '}';
    }
}
